package com.example.administrator.pandanotes;

import org.litepal.crud.DataSupport;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by 于博 on 2018-06-07.
 * User(用户)类，具有以下属性和对应的get方法和set方法
 用户id
 用户名
 用户密码
 用户性别
 用户签名
 用户头像
 记住密码标志
 */

public class User extends DataSupport implements Serializable{
    String user_id;  //用户id
    String user_name; //用户名
    String user_pwd; //用户密码
    String user_sex; //用户性别
    String user_signature; //用户签名
    String user_profile;//用户头像
    String user_flag;      //记住密码标志
    private List<BookClass> bookClasses = new ArrayList<BookClass>();//和书籍类一对多

    public String getUser_id() {
        return user_id;
    }

    public String getUser_name() {
        return user_name;
    }

    public String getUser_pwd() {
        return user_pwd;
    }

    public String getUser_sex() {
        return user_sex;
    }

    public String getUser_signature() {
        return user_signature;
    }

    public String getUser_flag() {
        return user_flag;
    }

    public String getUser_profile() {
        return user_profile;
    }

    public List<BookClass> getBookClasses() {
        return bookClasses;
    }

    public void setUser_profile(String user_profile) {
        this.user_profile = user_profile;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public void setUser_pwd(String user_pwd) {
        this.user_pwd = user_pwd;
    }

    public void setUser_sex(String user_sex) {
        this.user_sex = user_sex;
    }

    public void setUser_signature(String user_signature) {
        this.user_signature = user_signature;
    }

    public void setUser_flag(String user_flag) {
        this.user_flag = user_flag;
    }

    public void setBookClasses(List<BookClass> bookClasses) {
        this.bookClasses = bookClasses;
    }
}